# $Id: PKGBUILD 64842 2012-02-18 17:37:56Z lcarlier $
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Henrik Ronellenfitsch <henrik at searinox dot de>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=mdf2iso
pkgver=0.3.0
pkgrel=5
pkgdesc="Converts Alcohol 120% .mdf files to .iso files"
arch=('x86_64' 'i686')
url="http://mdf2iso.berlios.de/"
license=('GPL')
depends=('glibc')
source=("http://download.berlios.de/mdf2iso/$pkgname-$pkgver-src.tar.bz2"
        "lfs.patch")
sha256sums=('7b6622c58bc6a5111eba719d2b55cdfab54cbb26f3aea98b7e5db0eb0062be84'
            'a15878b4b6c3e9484fbf8685220e482359cabc4d8039ffaf2a581175c381677d')

build() {
  cd "$srcdir/$pkgname"
  
  patch -p1 < ../lfs.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
